package com.coffee.feign;

import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author: songkui
 * @since: 2022/3/16 16:09
 */
@Configuration
public class FeignBeanConfiguration {
    @Bean
    public RequestInterceptor requestInterceptor(){
        return new CoffeeFeignRequestInterceptor();
    }
}
